package com.tz.dao;

import com.tz.entity.Product;

import java.util.List;

/**
 * Created by Administrator on 2016/7/27.
 */
public interface ProductDao {

    List<Product> findProduct();

    List<Product>findProductBy(String catename);

    Product findProductById(long id);

    void saveProduct(Product p);
}
